package com.example.dqnm.service;

import com.example.dqnm.pojo.Shippingaddress;
import com.example.dqnm.pojo.UserAddress;

import java.util.List;

public interface ShippingaddressService {
    // 查询当前id用户的所有地址
    List<Shippingaddress> selectAllShippingaddress(Integer id);

    Boolean addUserAddress(Shippingaddress shippingaddress);

    Boolean deleteUserAddress(Integer id);

    Boolean updateUserAddress(Shippingaddress shippingaddress);
}
